package com.miyuan.wm.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @ClassName AddGoodsRequestVo
 * @Description 新增货物列表信息请求参数类
 */
@Data
@ApiModel(value = "新增货物列表信息请求参数类", description = "新增货物列表信息请求参数类")
public class AddGoodsRequestVo implements Serializable {

    @NotBlank(message = "货物名称参数不能为空")
    @ApiModelProperty(value = "货物名称", notes = "货物名称")
    private String name;

    @ApiModelProperty(value = "货物类型", notes = "货物类型")
    private String type;

    @ApiModelProperty(value = "货物尺寸", notes = "货物尺寸")
    private String size;

    @ApiModelProperty(value = "货物价值", notes = "货物价值")
    private double price;

}
